package com.itheima.constructor;

public class Student {
    String name;
    int age;

    // 构造器，创建对象时被执行调用，常用于初始化
    public  Student(String name,int age){
        this.name=name;
        this.age=age;
    }
}
